package com.avengers.modules.spider.whois.querier;

import com.avengers.modules.spider.whois.bean.WhoisInfo;

/**
 * @author yu.wang
 * @since 2019/1/3 上午10:23
 * <p>
 * Domain Name: ABC.ORG
 * Registry Domain ID: D1432195-LROR
 * Registrar WHOIS Server: whois.godaddy.com
 * Registrar URL: http://www.whois.godaddy.com
 * Updated Date: 2018-05-17T15:53:54Z
 * Creation Date: 1995-08-15T04:00:00Z
 * Registry Expiry Date: 2027-08-14T04:00:00Z
 * Registrar Registration Expiration Date:
 * Registrar: GoDaddy.com, LLC
 * Registrar IANA ID: 146
 * Registrar Abuse Contact Email: abuse@godaddy.com
 * Registrar Abuse Contact Phone: +1.4806242505
 * Reseller:
 * Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
 * Domain Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited
 * Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
 * Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
 * Registrant Organization: AssociatedBuildersand Contractors Inc.
 * Registrant State/Province: Virginia
 * Registrant Country: US
 * Name Server: PDNS03.DOMAINCONTROL.COM
 * Name Server: PDNS04.DOMAINCONTROL.COM
 * DNSSEC: unsigned
 **/
class Org implements WhoisAnalysis {
    public static final Org ANALYSIS = new Org();

    private Org() {
    }

    @Override
    public String server() {
        return "whois.publicinterestregistry.net";
    }

    @Override
    public String notFoundRemark() {
        return "NOT FOUND";
    }

    @Override
    public String unRegisteredOnLineRemark() {
        return null;
    }

    @Override
    public void transferLine(WhoisInfo whoisInfo, String line) {
        ComNet.ANALYSIS.transferLine(whoisInfo, line);
    }
}
